package org.linlinjava.litemall.wx.web;

import org.linlinjava.litemall.db.service.LitemallSystemConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @Author Administrator
 * @Date 2021/02/04
 */
@RestController
@RequestMapping("/wx/staticPic")
public class WxStaticPicController {
    @Autowired
    private LitemallSystemConfigService systemConfigService;

    @GetMapping
    public Map<String,String> queryStaticPic() {
        return systemConfigService.listStaticPic();
    }
}
